package com.thundern.tdcrawler.service.schedule;

import com.thundern.tdcrawler.model.Request;
import com.thundern.tdcrawler.service.job.SpiderJob;

public class CrawlerSchedule extends AbstractSchedule {
	
	private static final long serialVersionUID = 274712975089212884L;

	Request request ;
	
	public CrawlerSchedule( ) {
//		request = new Request();
		
//		request.setUrl("http://www.youku.com");
//		request.setUrl("http://my.oschina.net/flashsword/blog/280096");
//						http://my.oschina.net/flashsword/blog
	}
	
	@Override
	public void init() {
//		SpiderJob sj = new SpiderJob(request);
//		sj.doJob();		
	}

	public static void main(String[] args) {
		CrawlerSchedule cs = new CrawlerSchedule();
		cs.init();
	}
	
	
}
